<template>
	<view class="pr box-vip" v-if="USERINFO&&USERINFO.user.memberLevel>0">
		<image src="../../static/vip.png" class="pa" style="width: 64rpx;height: 31rpx;" ></image>
		<text class="pa num">{{USERINFO&&USERINFO.user.memberLevel}}</text>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				memberLevel:0
			}
		},
		mounted() {
			this.memberLevel = this.USERINFO&&this.USERINFO.user.memberLevel
		}
	}
</script>

<style lang="scss" scoped>
	.box-vip{
		display: inline-block;
		width: 64rpx;
		height: 31rpx;
		
		.num{
				font-size: 22rpx;
				left: 10rpx;
				color: #FF934C;
				font-weight: 400;
				left: 42rpx;
				top: 2rpx;
		}
	}
</style>